#ifndef __UIVPLAYERMIDBODY__H__
#define __UIVPLAYERMIDBODY__H__

#include <MZFCLIB.h>

#include	"iUiButton.h"
#include	"UiStatusBar.h"

typedef enum _tagVirtualDiscDisplay
{
	VIRTUAL_DISC_ONE = 0,
	VIRTUAL_DISC_TWO,
	VIRTUAL_DISC_THREE,
	VIRTUAL_DISC_FOUR,
	VIRTUAL_DISC_FIVE,
	VIRTUAL_DISC_SIX,
	MAX_VIRTUAL_DISC,
} VIRTUAL_DISC_BTN;

typedef enum _tagVPlayerMidbodyStatusBarDisplay
{
	VPLAYER_MIDBODY_STATUSBAR_PROGRESS = 0,
	MAX_VPLAYER_MIDBODY_STATUSBAR,
} VPLAYER_MIDBODY_STATUSBAR;


typedef enum _tagVPlayerMidbodyStaticCtrl
{
	VPLAYER_MIDBODY_TOPBAR_CURRENTTIME = 0,
	VPLAYER_MIDBODY_TOPBAR_DURATIONTIME,
	VPLAYER_MIDBODY_TOPBAR_FILENAME_LABEL,
	VPLAYER_MIDBODY_TOPBAR_FILENAME,
	VPLAYER_MIDBODY_TOPBAR_SINGER_LABEL,
	VPLAYER_MIDBODY_TOPBAR_SINGER,
	VPLAYER_MIDBODY_TOPBAR_ALBUM_LABEL,
	VPLAYER_MIDBODY_TOPBAR_ALBUM,
	VPLAYER_MIDBODY_TOPBAR_TRACK_LABEL,
	VPLAYER_MIDBODY_TOPBAR_TRACK,
	MAX_VPLAYER_MIDBODY_STATIC_CTRL,
} VPLAYER_MIDBODY_STATIC_CTRL;


class UiVPlayerMidbody :
	public UiWin
{
public:
	UiVPlayerMidbody();
	~UiVPlayerMidbody();

	BOOL InitUiWin(void);

	void PaintWin(HDC hdc, RECT* prcWin, RECT* prcUpdate);
	virtual int OnLButtonDown(UINT fwKeys, int xPos, int yPos);
	virtual int OnLButtonUp(UINT fwKeys, int xPos, int yPos);
	virtual void DeleteImages();

	void LoadiInterItem();
	BOOL InitImages();
public:
	iUiButton		m_BtnUiMidbody[MAX_VIRTUAL_DISC];//check button
	CUiStatusBar	m_slideBar[MAX_VPLAYER_MIDBODY_STATUSBAR];
	UiStatic		m_staticCtl[MAX_VPLAYER_MIDBODY_STATIC_CTRL];
	UiStatic		m_staticDisc[MAX_VIRTUAL_DISC];
	ImagingHelper	*m_VideoMainBG;
//	ImagingHelper	*m_MusicInfoBG;

	HDC				m_hBakDC;
	HBITMAP			m_hBitmapBakDC;

};

#endif